package com.toobigtofail
{
	import net.flashpunk.Entity;
	import net.flashpunk.Graphic;
	import net.flashpunk.Mask;
	import net.flashpunk.graphics.Image;
	
	public class SceneEntity extends Entity
	{
		public var image:Image;
		private var sceneX:Number = 0;
		private var sceneY:Number = 0;
		
		public function SceneEntity(x:Number=0, y:Number=0, graphic:Graphic=null, mask:Mask=null)
		{
			this.x = x;
			this.y = y;
			graphic = image = Image.createRect(width, height, 0x22222222);
			super(sceneX + x, sceneY + y, graphic, mask);
		}
	}
}